import random

random_list = [random.randint(1, 100) for _ in range(10)]
print("排序前的列表:", random_list)
sorted_list = bubble_sort(random_list)
print("排序后的列表:", sorted_list)
